<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 1.0 Transitional//EN">
<html>
  <head>
    
    <title>添加Emp信息</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
<body>
<div class="pageContent">
	<form method="post"  action="<%=basePath %>system/system_add_List.action" class="pageForm required-validate" onsubmit="return validateCallback(this);">
		<div class="pageFormContent" layoutH="56">
			
			<p>
				<label>员工姓名：</label>
			  <input name="emp.empName" class="required" type="text" size="30" maxlength="32"  value="" alt="请输入客户名称"/>
			</p>
			
			<p>
				<label>性别：</label>
			  <select name="emp.empGender" class="required combox">
					<option value="">请选择</option>
					<option value="男" selected>男</option>
					<option value="女" >女</option>
				</select>
			</p>
			<p>
				<label>年龄：</label>
			  <input name="emp.empAge" class="digits" type="text" size="30" value=""  maxlength="2" alt="请输入数字" onkeyup="javascript:this.value=this.value.replace(/[^\d]/g,'');
if(this.value<0){
this.value=0;};
if(this.value>200){this.value=200;}"
 onchange="javascript:this.value=this.value.replace(/[^\d]/g,'');
if(this.value<0){
this.value=0;};
if(this.value>200){this.value=200;}" /> 
				
			</p>
			<p>
				<label>婚姻状况：</label>
			  <select name="emp.isMarried" class="required combox">
					<option value="">请选择</option>
					<option value="1">是</option>
					<option value="0" selected>否</option>
				</select>
			</p>
			<p>
				<label>职位：</label>
			  <input type="text" size="30"  name="emp.position" value=""  maxlength="32"/>
			</p>
            <p>
				<label>身份证号：</label>
			  <input name="emp.empCardId" class="required" type="text" size="30" maxlength="18" minlength="18"  value="" alt="请输入客户身份证编号"/>
			</p>
			<p>
            <label>职称：</label>
			  <input type="text" size="30"  name="emp.titles" value="" maxlength="32"/>
			</p>
			<p>
				<label>文化程度：</label>
			  <select name="emp.education" class="required combox">
					<option value="">请选择</option>
					<option value="小学">小学</option>
					<option value="初中" >初中</option>
					<option value="高中" >高中</option>
					<option value="大学及以上" selected>大学及以上</option>
				</select>
			</p>
			<p>
				<label>家庭住址：</label>
			  <input type="text" name="emp.empAddr"  size="30"  value="" maxlength="128"/>
			</p>
			<p>
				<label>部门名称：</label>
			  <input type="text"size="30"  name="emp.empDepName" value=""  maxlength="16" />
			</p>
			<p>
				<label>专业：</label>
				<input type="text" size="30" name="emp.professional" value="" maxlength="16" />
			</p>
			<p>
				<label>爱好：</label>
				<input type="text" size="30" name="emp.hobby" value="" maxlength="128"/>
			</p>
			<p>
				<label>联系方式：</label>
				<input type="text" name="emp.contact" class="phone" alt="请输入您的电话" value="" size="30" maxlength="19"  />
			</p>
<!-- 			<p>
				<label>密码：</label>
				<input type="text" size="32"  name="emp.empPwd" value="" />
			</p> -->
		    <p>
				<label>角色编号：</label>
				<select name="emp.hcrmRole.roleId"  class="required combox">
				<!-- <option value="">请选择</option>  -->
		<s:iterator value="#request.hrList" id="hr" >
					<option value="<s:property value="#hr.roleId" />"><s:property value="#hr.roleName"/> </option>
					</s:iterator>
				
				</select>
			</p> 
			
		</div>
		<div class="formBar">
			<ul>
				<!--<li><a class="buttonActive" href="javascript:;"><span>保存</span></a></li>-->
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">保存</button></div></div></li>
				<li>
					<div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div>
				</li>
			</ul>
		</div>
	</form>
</div>

                             
  </body>
</html>